2a20b1fa04f2b1e9726d30f479f11bf587cb39ab,source/jetbrains/mps/ide/actions/nodes/GoToConceptEditorDeclarationAction.java,GoToConceptEditorDeclarationAction,execute,#ActionContext#,34
Before Change
return;
}
}
JOptionPane.showMessageDialog(null, "The " + editorName + " wasn't found in " + languageEditor.getUID());
} else {
JOptionPane.showMessageDialog(null, "Editor model for \"" + node.getModel().getUID() + "\" is not in the project");
}
After Change
}
}
int option = JOptionPane.showConfirmDialog(
null, "The " + editorName + " wasn't found in " + languageEditor.getUID() + "\nDo you want to create such an editor?",
"Editor not found",
JOptionPane.YES_NO_OPTION,
JOptionPane.QUESTION_MESSAGE);
if (option == JOptionPane.YES_OPTION) {
final ConceptEditorDeclaration[] editorDeclaration = new ConceptEditorDeclaration[1];
final ConceptDeclaration conceptDeclaration = (ConceptDeclaration) node;
CommandProcessor.instance().executeCommand(new Runnable() {